package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.PcrSjpzq;
import com.zhijian.medical.entity.vo.request.PcrSjpzqSearchVo;
import com.zhijian.medical.entity.vo.response.PcrSjpzqVo;

import java.util.List;

public interface PcrSjpzqMapper {
    int deleteByPrimaryKey(Long id);

    /**
     * 根据实验id进行删除
     *
     * @param pcrId
     */
    void deleteByPcrId(Long pcrId);

    int insert(PcrSjpzq record);

    int insertSelective(PcrSjpzq record);

    PcrSjpzq selectByPrimaryKey(Long id);

    /**
     * 实验id查询po
     *
     * @param pcrId
     * @return
     */
    PcrSjpzq selectByPcrId(Long pcrId);

    int updateByPrimaryKeySelective(PcrSjpzq record);

    int updateByPrimaryKey(PcrSjpzq record);

    int count(PcrSjpzqSearchVo pcrSjpzqSearchVo);

    List<PcrSjpzqVo> selectList(PcrSjpzqSearchVo pcrSjpzqSearchVo);

    PcrSjpzqVo selectVoById(Long id);

    /**
     * 实验id查询vo
     *
     * @param pcrId
     * @return
     */
    PcrSjpzqVo selectVoByPcrId(Long pcrId);
}